package com.school.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtOndutytestDao;
import com.school.entity.HljtOndutytest;
import com.school.service.HljtOndutytestServices;
@Service
public class HljtOndutytestServicesImpl implements HljtOndutytestServices {

	@Autowired
	private HljtOndutytestDao hljtOndutytestDao;

	@Override
	public HljtOndutytest findOnduty(Integer classid, Integer dutyid) {
		return hljtOndutytestDao.findOnduty(classid, dutyid);
	}

	@Override
	public Integer deleteOnduty(Integer classid, Integer dutyid) {
		return hljtOndutytestDao.deleteOnduty(classid, dutyid);
	}

	@Override
	public Integer addOndyuty(HljtOndutytest hljtOndutytest) {
		// TODO Auto-generated method stub
		return hljtOndutytestDao.addOndyuty(hljtOndutytest);
	}

	@Override
	public Integer updateOndyuty(HljtOndutytest hljtOndutytest) {
		// TODO Auto-generated method stub
		return hljtOndutytestDao.updateOndyuty(hljtOndutytest);
	}
	


}
